<select
<#if id??>id="${id}"</#if>
<#if name??>name="${name}"</#if>
<#if class??>class="${class}"</#if>
<#if style??>style="${style}"</#if>
<#if lang??>lang="${lang}"</#if>
<#if title??>title="${title}"</#if>
<#if dir??>dir="${dir}"</#if>
<#if tabindex??>tabindex="${tabindex}"</#if>
<#if onclick??>onclick="${onclick}"</#if>
<#if ondblclick??>ondblclick="${ondblclick}"</#if>
<#if onmousedown??>onmousedown="${onmousedown}"</#if>
<#if onmouseup??>onmouseup="${onmouseup}"</#if>
<#if onmouseover??>onmouseover="${onmouseover}"</#if>
<#if onmousemove??>onmousemove="${onmousemove}"</#if>
<#if onmouseout??>onmouseout="${onmouseout}"</#if>
<#if onkeypress??>onkeypress="${onkeypress}"</#if>
<#if onkeyup??>onkeyup="${onkeyup}"</#if>
<#if onkeydown??>onkeydown="${onkeydown}"</#if>
<#if onfocus??>onfocus="${onfocus}"</#if>
<#if onblur??>onblur="${onblur}"</#if>
<#if onchange??>onkeydown="${onchange}"</#if>
<#if accesskey??>accesskey="${accesskey}"</#if>
<#if disabled>disabled="${disabled}"</#if>
<#if readonly>readonly="${readonly}"</#if>
<#if multiple>multiple="multiple"</#if>
<#if size??>size="${size}"</#if>
<#list dynamicAttributes?keys as key>
    ${key} = ${dynamicAttributes[key]}
</#list>
>
<#if items?has_content>
<#list items as item>
<option value="${item[itemValue]}"
    <#if boundValue?matches(item[itemValue], "i")>selected="selected"</#if>>
${item[itemLabel]}
</option>
</#list>
</#if>